POW.nicename = "Teleportation V1"
POW.type = "Fire"
POW.help = "Press Shift to teleport to that point."
POW.delay = 3

function POW:KeyPress( key )
	if( key == IN_SPEED && self.nextfire < CurTime() ) then
		trace = util.GetPlayerTrace( self.owner )
		traceRes = util.TraceLine( trace ) 
		spawnPos = traceRes.HitPos + traceRes.HitNormal*32
		self.owner:SetPos( spawnPos )
		self.owner:SetLocalVelocity( Vector( 0, 0, 0 ) )
		self.nextfire = CurTime() + self.delay
	end
end

function POW:KeyRelease( key )
end

function POW:Initialize()
	Msg("Teleportation has been loaded!\n")
end

function POW:Disabled()
	self.owner:PrintMessage(3, self.owner:Name().. " no longer has " ..self.nicename.. ".")
end

function POW:Enabled()
	self.owner:PrintMessage(3, self.owner:Name().. " now has " ..self.nicename.. ".")
end

function POW:Think()
end